package util

import (
	"github.com/go-ini/ini"
	"log"
)

var (
	MERID 	string
	KEY 	string
	ADDR 	string
)

func init() {
	cfg, err := ini.Load("config/conf.ini")
	if err != nil {
		log.Println(err)
	}

	MERID = cfg.Section("gongxiyun").Key("MERID").String()
	KEY = cfg.Section("gongxiyun").Key("KEY").String()
	ADDR = cfg.Section("gongxiyun").Key("ADDR").String()
}